package com.example.springbootthreaddemo.demo01;

/**
 * @Author: jixiaotian.ch@qq.com
 * @Date : 2020/9/1
 */
public class ThreadTest {
    public static void main(String[] args) {
        ThreadDemo01 t1 = new ThreadDemo01();
        new Thread(t1).start();

        ThreadDemo02 t2 = new ThreadDemo02();
        new Thread(t2).start();

        ThreadDemo03 t3 = new ThreadDemo03();
        try {
            String call = t3.call();
            System.out.println(call);
        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
